package com.study.sfd.medicine.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.study.common.utils.PageResult;
import com.study.common.entity.MedicineEntity;
import com.study.common.vo.MedicineDetail;

import java.util.List;
import java.util.Map;

/**
 * medicine(药品)
 *
 * @author 王个球
 * @email wangdajunzy@163.com
 * @date 2021-11-12 13:37:43
 */
public interface MedicineService extends IService<MedicineEntity> {

  PageResult queryPageWithCover(Map<String, Object> params, List<Integer> druggistIds);

  void saveWithImgs(MedicineDetail medicineEntity);

  MedicineDetail getDetailById(Integer id);

  void updateWithImgsById(MedicineDetail medicine);

  void removeWithImgsByIds(List<Integer> ids);
}

